<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="UTF-8" />
	<title>千郡医疗-我的银行卡</title>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<meta name="format-detection" content="telephone=no" />
	<link rel="stylesheet" th:href="@{/weixin/css/style.css}" />
	<script th:src="@{/weixin/js/adaptive.js}"></script>
	<script th:src="@{/weixin/js/fastclick.min.js}"></script>
	<script th:src="@{/weixin/js/zepto.min.js}"></script>
</head>
<body>
	<ul class="bankCard">
		<li th:id="${bank.id}" th:class="${bank.isDefault}?'curr card':'card'" th:each="bank : ${banks}">
			<p class="name" th:text="${bank.customerName}">刘诗诗</p>
			<p class="bank" th:text="${bank.bankName}">中国民生银行</p>
			<p class="num" th:text="${bank.bankCardNum}">6226 0584 5482 5482</p>
		</li>
		<li class="add" onclick="location.href='/qianjun/weixin/bank/add'" th:if="${#lists.isEmpty(banks)}"></li>
	</ul>
	
	<script type="text/javascript" th:if="${!#strings.isEmpty(session.op)}">
		$("li.card").click(function(){
			location.href = "/qianjun/weixin/rebate/cash?cardId=" + $(this).attr("id");
		})
	</script>
</body>
</html>